package com.anyou.mall.sho.service;

import java.util.List;
import com.anyou.mall.sho.domain.ShoShopAddress;

/**
 * 商家退换货地址Service接口
 * 
 * @author xq
 * @date 2022-04-15
 */
public interface IShoShopAddressService 
{
    /**
     * 查询商家退换货地址
     * 
     * @param addressId 商家退换货地址主键
     * @return 商家退换货地址
     */
    public ShoShopAddress selectShoShopAddressByAddressId(Long addressId);

    /**
     * 查询商家退换货地址列表
     * 
     * @param shoShopAddress 商家退换货地址
     * @return 商家退换货地址集合
     */
    public List<ShoShopAddress> selectShoShopAddressList(ShoShopAddress shoShopAddress);

    /**
     * 新增商家退换货地址
     * 
     * @param shoShopAddress 商家退换货地址
     * @return 结果
     */
    public int insertShoShopAddress(ShoShopAddress shoShopAddress);

    /**
     * 修改商家退换货地址
     * 
     * @param shoShopAddress 商家退换货地址
     * @return 结果
     */
    public int updateShoShopAddress(ShoShopAddress shoShopAddress);

    /**
     * 批量删除商家退换货地址
     * 
     * @param addressIds 需要删除的商家退换货地址主键集合
     * @return 结果
     */
    public int deleteShoShopAddressByAddressIds(Long[] addressIds);

    /**
     * 删除商家退换货地址信息
     * 
     * @param addressId 商家退换货地址主键
     * @return 结果
     */
    public int deleteShoShopAddressByAddressId(Long addressId);
}
